package com.cxm.homework9.anno;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("com/cxm/homework9/anno/spring-config.xml");
        UserDao userDao = ac.getBean(UserDao.class);
        userDao.transfer("cxm","JERRY",100);
    }
}
